59_Python Masterclass:solving One Algorithm Problem